<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 208 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts208p0{position:absolute;left:106px;top:97px;}
 .ts208p1{position:absolute;left:352px;top:97px;}
 .ts208p3{position:absolute;left:665px;top:97px;}
 .ts208p7{position:absolute;left:106px;top:113px;}
 .ts208p8{position:absolute;left:706px;top:1026px;}
 .ts208p9{position:absolute;left:331px;top:1044px;}
 .ts208p13{position:absolute;left:335px;top:146px;}
 .ts208p18{position:absolute;left:335px;top:166px;}
 .ts208p19{position:absolute;left:335px;top:184px;}
 .ts208p20{position:absolute;left:335px;top:203px;}
 .ts208p21{position:absolute;left:335px;top:221px;}
 .ts208p24{position:absolute;left:335px;top:239px;}
 .ts208p25{position:absolute;left:335px;top:258px;}
 .ts208p26{position:absolute;left:335px;top:276px;}
 .ts208p27{position:absolute;left:335px;top:295px;}
 .ts208p28{position:absolute;left:335px;top:313px;}
 .ts208p30{position:absolute;left:335px;top:331px;}
 .ts208p31{position:absolute;left:335px;top:350px;}
 .ts208p32{position:absolute;left:335px;top:368px;}
 .ts208p35{position:absolute;left:335px;top:387px;}
 .ts208p36{position:absolute;left:335px;top:405px;}
 .ts208p38{position:absolute;left:335px;top:423px;}
 .ts208p40{position:absolute;left:335px;top:442px;}
 .ts208p41{position:absolute;left:106px;top:461px;}
 .ts208p43{position:absolute;left:335px;top:461px;}
 .ts208p44{position:absolute;left:335px;top:479px;}
 .ts208p46{position:absolute;left:335px;top:497px;}
 .ts208p47{position:absolute;left:335px;top:516px;}
 .ts208p48{position:absolute;left:335px;top:534px;}
 .ts208p50{position:absolute;left:335px;top:552px;}
 .ts208p52{position:absolute;left:335px;top:571px;}
 .ts208p53{position:absolute;left:106px;top:590px;}
 .ts208p55{position:absolute;left:335px;top:590px;}
 .ts208p56{position:absolute;left:335px;top:608px;}
 .ts208p58{position:absolute;left:335px;top:626px;}
 .ts208p59{position:absolute;left:335px;top:645px;}
 .ts208p60{position:absolute;left:335px;top:663px;}
 .ts208p61{position:absolute;left:335px;top:682px;}
 .ts208p63{position:absolute;left:335px;top:700px;}
 .ts208p64{position:absolute;left:335px;top:718px;}
 .ts208p66{position:absolute;left:335px;top:737px;}
 .ts208p69{position:absolute;left:335px;top:755px;}
 .ts208p70{position:absolute;left:335px;top:774px;}
 .ts208p73{position:absolute;left:335px;top:792px;}
 .ts208p74{position:absolute;left:335px;top:810px;}
 .ts208p75{position:absolute;left:335px;top:829px;}
 .ts208p76{position:absolute;left:335px;top:847px;}
 .ts208p77{position:absolute;left:335px;top:866px;}
 .ts208p78{position:absolute;left:335px;top:884px;}
 .ts208p81{position:absolute;left:335px;top:902px;}
 .ts208p82{position:absolute;left:335px;top:921px;}
 .ts208p84{position:absolute;left:335px;top:939px;}
 .ts208p87{position:absolute;left:335px;top:958px;}
 .ts208p89{position:absolute;left:335px;top:976px;}

 /* Font Styles */
 .ft0p208{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p208{font-weight:normal;}
 .ft2p208{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p208{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p208{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p208{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p208{font-family:"courier new",courier,monospace;}
 .ft7p208{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground208{position:absolute;left:97px;top:459px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index207.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;208 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index209.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground208><img src="./background208.png" width="639" height="596" border="0" alt=""></div>
<div class=ts208p0><span class="ft0p208"> </span></div>
<div class=ts208p1><span class="ft0p208">Gravitybox Schedule Primer<span class="ft1p208"> </span></span></div>
<div class=ts208p3><span class="ft0p208">Page 206&nbsp; </span></div>
<div class=ts208p7><span class="ft2p208"> </span></div>
<div class=ts208p8><span class="ft3p208"> </span></div>
<div class=ts208p9><span class="ft4p208">1998&#45;2004 Gravitybox Software LLC<span class="ft3p208"> </span></span></div>
<div class=ts208p13><span class="ft5p208">The &#34;<span class="ft6p208"> vStartDateRoom</span> &#34; and &#34;<span class="ft6p208"> vEndDateRoom</span> &#34; </span></div>
<div class=ts208p18><span class="ft5p208">parameters are the start and end dates or rooms. This </span></div>
<div class=ts208p19><span class="ft5p208">parameter will be rooms if ViewMode property is a </span></div>
<div class=ts208p20><span class="ft5p208">setting that excludes days, otherwise it is dates. An </span></div>
<div class=ts208p21><span class="ft5p208">error is raised if invalid data is specified. </span></div>
<div class=ts208p24><span class="ft5p208"> </span></div>
<div class=ts208p25><span class="ft5p208">The &#34;PrinterDeviceName&#34; parameter is the printer </span></div>
<div class=ts208p26><span class="ft5p208">name. This must be a valid printer installed on the </span></div>
<div class=ts208p27><span class="ft5p208">system. If the printer does not exist then an error is </span></div>
<div class=ts208p28><span class="ft5p208">raised. </span></div>
<div class=ts208p30><span class="ft5p208"> </span></div>
<div class=ts208p31><span class="ft5p208">The &#34;lOrientation&#34; parameter allows you to print Portrait </span></div>
<div class=ts208p32><span class="ft5p208">or Landscape. The constants for this are as follows: </span></div>
<div class=ts208p35><span class="ft5p208"> </span></div>
<div class=ts208p36><span class="ft5p208">VbPRORPortrait = 1 </span></div>
<div class=ts208p38><span class="ft5p208">vbPRORLandscape = 2 </span></div>
<div class=ts208p40><span class="ft5p208"> </span></div>
<div class=ts208p41><span class="ft5p208">HitTest </span></div>
<div class=ts208p43><span class="ft7p208">Function HitTest(X As Long, Y As Long) </span></div>
<div class=ts208p44><span class="ft7p208">As CScheduleEl </span></div>
<div class=ts208p46><span class="ft7p208"> </span></div>
<div class=ts208p47><span class="ft5p208">This function takes a set of coordinates and returns the </span></div>
<div class=ts208p48><span class="ft5p208">associated appointment under the coordinates. If there </span></div>
<div class=ts208p50><span class="ft5p208">is no appointment at this position, &#147;Nothing&#148; is returned. </span></div>
<div class=ts208p52><span class="ft5p208"> </span></div>
<div class=ts208p53><span class="ft5p208">ImportXML </span></div>
<div class=ts208p55><span class="ft7p208">Function ImportXML(oXMLParameters As </span></div>
<div class=ts208p56><span class="ft7p208">CXMLParameters) As Boolean </span></div>
<div class=ts208p58><span class="ft5p208"> </span></div>
<div class=ts208p59><span class="ft5p208">Although you will probably loop through the collections </span></div>
<div class=ts208p60><span class="ft5p208">and store the information in a database, there is an </span></div>
<div class=ts208p61><span class="ft5p208">alternative. The schedule has its own file format that </span></div>
<div class=ts208p63><span class="ft5p208">can be used instead of a database. If you are designing </span></div>
<div class=ts208p64><span class="ft5p208">a &#34;light&#34; program and do not wish to distribute a full&#45;</span></div>
<div class=ts208p66><span class="ft5p208">blown database like MS&#45;Access, you can use the </span></div>
<div class=ts208p69><span class="ft5p208">ImportXML and ExportXML methods to save </span></div>
<div class=ts208p70><span class="ft5p208">information without a database. </span></div>
<div class=ts208p73><span class="ft5p208"> </span></div>
<div class=ts208p74><span class="ft5p208">The parameter object allows you to control what will be </span></div>
<div class=ts208p75><span class="ft5p208">loaded from the file. There are 7 collections that can be </span></div>
<div class=ts208p76><span class="ft5p208">loaded with this method. The ScheduleItems collection </span></div>
<div class=ts208p77><span class="ft5p208">is always saved, which means there are 6 collections </span></div>
<div class=ts208p78><span class="ft5p208">that can be conditionally saved.&nbsp; </span></div>
<div class=ts208p81><span class="ft5p208"> </span></div>
<div class=ts208p82><span class="ft5p208">The parameter object has the following properties: </span></div>
<div class=ts208p84><span class="ft5p208">Filename &#45; This is the full path of the file to use from </span></div>
<div class=ts208p87><span class="ft5p208">which to load the data. </span></div>
<div class=ts208p89><span class="ft5p208">Overwrite &#45; &#60;NOT USED&#62; </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
